home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 3
/
Amiga Tools 3.iso
/
grafik
/
raytracing
/
rayshade-4.0.6.3
/
fixes
/
fix024
/
examples
/
pyramids.ray
< prev
next >
Wrap
Text File
|
1994-08-09
|
991b
|
42 lines
/* sierpinsky gasket: a plain IFS
* Philippe Bekaert - dpt. computer science K.U.Leuven, Leuven, Belgium
* e-mail: philippe@cs.kuleuven.ac.be */
maxdepth 3
eyep 4 2 1
lookp -2 -1.5 0.2
up 0 0 1
fov 48
screen 600 400
background 0.078 0.361 0.753
surface s1
ambient 0.15 0.1 0.045
diffuse 1 0.75 0.33
reflect 0.8
plane s1 0 0 0 0 0 1
surface s2
ambient 0.035 0.0325 0.025
diffuse 0.5 0.45 0.35
specular 0.8 0.8 0.8
specpow 3
reflect 0.95
light 0.288675 point 4 3 2
light 0.288675 point 1 -4 4
light 0.288675 point -3 1 5
name sierpinsky ifs s2
scale .5 .5 .5 translate .5 .5 0 ,
scale .5 .5 .5 translate -.5 .5 0 ,
scale .5 .5 .5 translate -.5 -.5 0 ,
scale .5 .5 .5 translate .5 -.5 0 ,
scale .5 .5 .5 translate 0 0 .71
bounding sphere
normalweighting lowpass
end
object sierpinsky
object sierpinsky scale 0.9 0.9 0.9 translate -3 -4 0
object sierpinsky scale 0.7 0.7 0.7 translate -5 -7 0